﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Xml;
using FredCK.FCKeditorV2;

public partial class Test : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //XmlDocument xmlDom = new XmlDocument();

        //xmlDom.Load(Server.MapPath("option.xml"));

        //XmlNodeList list= xmlDom.GetElementsByTagName("Module");
        //string s = string.Empty;
        //foreach (XmlNode node in list)
        //{
        //    s += node.Attributes["name"].Value;
        //    s += "<br/>";
        //    s += node.Attributes["listNumber"].Value;
        //    node.Attributes["listNumber"].Value = "9";
            
           
        //}

       
        //xmlDom.Save(Server.MapPath("option.xml"));
        //Response.Write(s);

        Response.Write(Request.ServerVariables["HTTP_HOST"]);

      
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        FCKeditor fckeditor = (FCKeditor)FCKeditor1;
        Response.Write(fckeditor.Value);
    }
}
